package com.ln.asset.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 资产分类
 * </p>
 *
 * @author luguangyun
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AssetCategory对象", description="资产分类")
public class AssetCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增长主键ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "分类名称")
    private String title;

    @ApiModelProperty(value = "上级")
    private Integer pid;

    @ApiModelProperty(value = "分类类别")
    private String type;

    @ApiModelProperty(value = "排序")
    private Integer listSort;

    @ApiModelProperty(value = "状态")
    private String status;


}
